<?php $this -> beginContent('//layouts/main');?>

<!--<div id="modal">
<div class="notificationwrap">
<div class="notification" style="background: rgba(0,0,0,.85);">
<div class="glosswrap">
<div class="gloss"></div>
</div>
<div class="img">
<img src="/wp-content/uploads/2011/03/cloud.png" />
</div>
<div class="growltitle">Upload Succeeded</div>
<div class="text">Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br>Theatme.png successfully uploaded.<br></div>
</div>
</div>
</div>-->
<div id="containerHeader">
	<div id="headerIndex">
		<?php
		$this -> widget('zii.widgets.jui.CJuiDatePicker', array(
			'name' => 'selectorCalendario',
		// additional javascript options for the date picker plugin
			'options' => array(
				'dateformat' => 'dd-mm-yyyy',
				
				), 
			'flat' => true,
			'language' => 'it')
		);
		?>
		<div style="margin-top:15px">
			<div class="headerImage"><img src="images/CalendarBig.png" />
			</div>
			<div class="titolo">
				<?php echo Yii::app() -> dateFormatter -> format('EEE d MMM yyyy', time());?>
			</div>
			<div class="sottotitolo">
				<span id="trattOggi"></span> trattamenti oggi
				<br/>
				<span id="clientiOggi"></span> clienti attesi
				<br/>
				<br/>
			</div>
			<button class="clean-gray" id="aggiungiAppuntamento"><img src="images/add.png" /> Appuntamento
			</button>
			<button class="clean-gray" id="aggiungiCliente" name="index.php?r=cliente/create"><img src="images/add.png" /> Cliente
			</button>
			<button class="clean-gray" id="vaiAdAdesso">
				Vai ad ora
			</button>
		</div>
	</div><!-- header -->
	
	<?php echo $content;?>
<!-- </div> content -->
<?php $this -> endContent();?></div>